<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            list-style: none;
        }
        .list {
            display: flex;
            height: 100px;
            line-height: 100px;
        }
        .nav {
            flex: auto;
            background-color: #0ff;
            border-left: 1px solid #fff;
            text-align: center;
        }
    </style>
  </head>
  <body>
    <ul class="list">
      <li class="nav">我们</li>
      <li class="nav">商品页</li>
      <li class="nav">购物车页</li>
      <li class="nav">我是一个页</li>
      <li class="nav">我也是一个页</li>
    </ul>
  </body>
</html>

